package sk.velkavrana.app.model.temp;

/**
 * User: mtymes
 * Date: 2.11.2008
 * Time: 1:03:57
 */
// todo: implement all parameters or dynamic amount of parameters
public class ColumnInfo {

    private String name;
    private int dataType;
    private String typeName;
    private int size;
    private int decimalDigits;
    private boolean nullable;


    public ColumnInfo(String name, int dataType, String typeName, int size, int decimalDigits, boolean nullable) {
        this.name = name;
        this.dataType = dataType;
        this.typeName = typeName;
        this.size = size;
        this.decimalDigits = decimalDigits;
        this.nullable = nullable;
    }


    public String getName() {
        return name;
    }


    public int getDataType() {
        return dataType;
    }


    public String getTypeName() {
        return typeName;
    }


    public int getSize() {
        return size;
    }


    public int getDecimalDigits() {
        return decimalDigits;
    }


    public boolean isNullable() {
        return nullable;
    }
}
